package com.kingwang.training.designpattern.mediator.bo;

/**
 * @author King
 */
public abstract class Country {
    protected UnitedNations mediator;

    public Country(UnitedNations mediator) {
        this.mediator = mediator;
    }

    /**
     * 发言
     *
     * @param message
     */
    public void declare(String message) {
        this.mediator.declare(this, message);
    }

    public abstract void receive(String message);
}
